package com.future.requestbean;

import java.util.Date;

import javax.validation.constraints.NotBlank;

import lombok.Data;

@Data
public class FoodAdd {
	@NotBlank(message = "标题不能为空")
	private String title;
	@NotBlank(message = "类型不能为空")
	private String type;
	private String author;
	private Date fooddate;
	@NotBlank(message = "内容不能为空")
	private String content;
}
